package com.admin.system.vo.query;

import com.admin.base.BaseQuery;

/**
* 组织机构
*/
public class SystemGroupQuery extends BaseQuery {

	/**
	 * 
	 */
	private Integer id;
	/**
	 * 组织名称
	 */
	private String groupName;
	/**
	 * 上级id
	 */
	private Integer pid;
	/**
	 * 排序
	 */
	private Integer sortNum;

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getId() {
		return this.id;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public String getGroupName() {
		return this.groupName;
	}

	public void setPid(Integer pid) {
		this.pid = pid;
	}

	public Integer getPid() {
		return this.pid;
	}

	public Integer getSortNum() {
		return sortNum;
	}

	public void setSortNum(Integer sortNum) {
		this.sortNum = sortNum;
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append("SystemGroup[");
		sb.append("id=").append(id);
		sb.append(",groupName=").append(groupName);
		sb.append(",pid=").append(pid);
		sb.append(",sortNum=").append(sortNum);
		sb.append("]");
		return sb.toString();
	}
}
